package com.vlyman.shiro.dao;

import com.vlyman.shiro.entity.SysUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 类描述：
 *   Mapper 接口
 *
 * @author chenjs
 * @date 2018-12-19 16:45
 */
public interface SysUserRoleDao extends BaseMapper<SysUserRole> {

    /**
     * 方法描述：
     *   通过用户Id获取用户角色
     *  @author chenjs
     *  @param userId
     *  @return SysUserRole
     *  @date 2018/12/20 17:17
     */
    SysUserRole getUserRoleByUserId(Integer userId);
}
